﻿using System;
using System.Xml.Linq;

namespace SharePhone.Provider.WebServices
{
    public class RequestCompleteEventArgs : EventArgs
    {
        public RequestCompleteEventArgs()
        {
        }

        public RequestCompleteEventArgs(XElement result)
        {
            Result = result;
        }

        public XElement Result { get; private set; }

        public Exception Error { get; internal set; }
        public bool Cancelled { get; internal set; }
        public string ErrorDescription { get; internal set; }
    }
}